package com.onlyxiahui.common.action.description.enums.annotation;

/**
 * Description <br>
 * Date 2020-01-08 09:21:07<br>
 * 
 * @author XiaHui [onlovexiahui@qq.com]<br>
 * @since 1.0.0
 */

public enum MethodRequest {
	/**
	 * GetMapping
	 */
	GetMapping("org.springframework.web.bind.annotation.GetMapping"),
	/**
	 * PostMapping
	 */
	PostMapping("org.springframework.web.bind.annotation.PostMapping"),
	/**
	 * PutMapping
	 */
	PutMapping("org.springframework.web.bind.annotation.PutMapping"),
	/**
	 * DeleteMapping
	 */
	DeleteMapping("org.springframework.web.bind.annotation.DeleteMapping"),
	/**
	 * PatchMapping
	 */
	PatchMapping("org.springframework.web.bind.annotation.PatchMapping"),
	/**
	 * RequestMapping
	 */
	RequestMapping("org.springframework.web.bind.annotation.RequestMapping"),
	/**
	 * ActionMapping
	 */
	ActionMapping("com.onlyxiahui.framework.action.dispatcher.annotation.ActionMapping");

	private String annotation;

	MethodRequest(String annotation) {
		this.annotation = annotation;
	}

	public String getAnnotation() {
		return annotation;
	}

	public void setAnnotation(String annotation) {
		this.annotation = annotation;
	}
}
